//
//  ZGStatisticsData.h
//  扫码
//
//  Created by 鲍志刚 on 16/4/27.
//  Copyright © 2016年 鲍志刚. All rights reserved.
//

/*
 
 {
 "intervalDate":["2016-04-07","2016-04-06","2016-04-05","2016-04-04","2016-04-03","2016-04-02","2016-04-01"],
 "data":[3,15,8,0,0,0,7],
 "code":"true"
 }
*/

#import <Foundation/Foundation.h>

@interface ZGStatisticsData : NSObject

@property (nonatomic, strong) NSArray *intervalDate;

@property (nonatomic, strong) NSArray *data;


//@property (nonatomic, copy) NSString *intervalDate;
//
//@property (nonatomic, assign) NSInteger *data;


@property (nonatomic, assign, getter = isCode) BOOL code;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)statisticsDataWithDict:(NSDictionary *)dict;

+ (void)statisticsDataWithURL:(NSString *)strUrl successBlock:(void(^)(NSDictionary *dict))successBlock errorBlock:(void(^)(NSError *e))errorBlock;
 
@end
